// @ts-nocheck
import React, { Component } from 'react';
import { NavLink,} from 'react-router-dom'

class MyNavLink extends Component {
  render() {

    return (
      // <NavLink  className="list-group-item" {...this.props}>{this.props.children}</NavLink>
      // 标签体内容是一个特殊的标签属性children
      <NavLink  className="list-group-item" {...this.props} />
    );
  }
}

export default MyNavLink;
